package day006.api_random;

import java.util.Random;

public class RandomDemo {
    public static void main(String[] args) {
        Random rand = new Random();
        int num = rand.nextInt(100) + 1;
        System.out.println("1-100随机数：" + num);
    }
}
